package com.heima.estatemanagement.service;

import com.github.pagehelper.Page;
import com.heima.estatemanagement.domain.TbParking;
import com.heima.estatemanagement.domain.TbParking;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author 86191
 * @description 针对表【tb_parking(车位表)】的数据库操作Service
 * @createDate 2022-12-22 17:07:35
 */
public interface TbParkingService {
    public List<TbParking> findAll();

    public Page<TbParking> search(Map searchMap);

    public int add(TbParking parking);

    public TbParking findById(Integer id);

    public int update(TbParking parking);

    public Boolean del(List<Integer> ids);

    public Boolean delById(int id);

    public boolean delFindByStatus(int id);

    public List<TbParking> selectByCommunityId(int communityId);
}
